home *** CD-ROM | disk | FTP | other *** search
/ Softwarová Záchrana 3 / Softwarova-zachrana-3.bin / Xteq X-Setup / xqdcXSP-Setup-EN.exe / {app} / plugins / XQ MSO2003 OTL PST 1.xpl < prev    next >
Text File  |  2004-02-05  |  3KB  |  50 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 6.0"
  2. "TYPE"="2"
  3. "COUNT"="1"
  4. "UIPATH"="Program Options\Microsoft Office\MS Office 2003\Outlook"
  5. "NAME"="PST (Ansi) Max Size"
  6. "VERSION"="1.01"
  7. "LANGUAGE"="VBScript"
  8. "TEXT 1"="Max. Size (MB)"
  9. "DESCRIPTION 1"="Normally each Outlook installation has at least one *.PST file (Personal Folder) associated with it. This PST file is used to store all your information like contacts, emails, notes etc."
  10. "DESCRIPTION 2"="There are two different types of PST files: ANSI (also known as 97-2002 PST) and Unicode (2003 and up PST). Regardless which version of a PST file you are using, they share the same problem: Both have a maximum file size and if the file size grows above this limit, the PST file is trashed and you might loose all information in it. "
  11. "DESCRIPTION 3"="The limit for the ANSI version if it is 2048 MB and the Unicode version has a maximum size of 3984500 MB. "
  12. "DESCRIPTION 4"="This setting can be used to prevent the PST file to grow above the limit you specify here. Any PST file Outlook deals with will be check every time new data is about to be added if it will be above the specified maximum size. If this is true, Outlook will throw an error and do not allow the new data to be added. Please note that this error message will say something like "You do not have the required access permission", it will not tell you that the PST file is getting to big! "
  13. "DESCRIPTION 5"="Normally, a limit of 2020 MB will be specified for the ANSI version of PST files and the Unicode version has no maximum size. "
  14. "DESCRIPTION 6"="However, you might also use this setting to prevent a user to create bigger PST files than your backup-device can handle. For example, if you backup the data on CD-R, the maximum file size could be set to 700 MB so it still fits on a CD. "
  15. "DESCRIPTION 7"="To disable any maximum file size restriction, simply clear the field."
  16. "AUTHOR"="Xteq Systems"
  17. "CONTACTURL"="http://www.x-setup.net/"
  18. "COPYRIGHT"="Copyright ⌐ Xteq Systems"
  19. "COMMENT 1"="http://www.planet-outlook.de/pst.htm"
  20.  
  21.  
  22. sP="HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Outlook"
  23. sV=sP & "\PST\MaxFileSize"
  24.  
  25. Sub Plugin_Initialize 
  26.  if RegPathExists(sP) then
  27.     i=RegReadValue(sV)
  28.     SetUIElement 1,i
  29.  else
  30.     Call Disable()
  31.  end if
  32. End Sub
  33.  
  34. Sub Plugin_CheckData(ElementIndex)
  35. End Sub
  36.  
  37. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  38.  i=GetUIElement(1)
  39.  if len(i)>0 then
  40.     Call RegWriteValue(sV,i,2)
  41.  else
  42.     If RegValueExists(sV) then Call RegDeleteValue(sV)
  43.  end if
  44.  
  45.  
  46. End Sub
  47.  
  48. Sub Plugin_Terminate 
  49. End Sub
  50.